""" .vromerc example file
" Note: sync with wiki

" Change key mapping in normal mode, please check Vrome Features for available key mapping
map  j <C-f>
map  j 10j

" Remove key mapping in normal mode
unmap <C-f>

" Change key mapping in insert mode
imap <M-h> <M-w>

" Remove key mapping in insert mode
iunmap <M-w>

" customize next/prev page pattern
set nextpattern=["Next Page", "^\\s*Next\\s*$", "^>$", "^More$", "(^(>>|››|»)\\|?)|((»|››|>>)\\|?$)"]
set previouspattern=["Previous Page", "^\\s*Prev(ious)?\\s*$", "^<$", "(^(<<|‹‹|«)\\|?)|((<<|‹‹|«)\\|?$)"]

" Dialog Extend Mode, Change hotkey for go next / previous / next 10 / previous 10 matched item in autocomplete
set autocomplete_prev=<S-Tab>
set autocomplete_next=<Tab>
set autocomplete_prev_10=<Up>
set autocomplete_next_10=<Down>

" set no status line -- i.e keys don't show as you type. enabled by default
set showstatus=0

" Define search engines. the value should be valid json looks like below.
" Please remember the first searchengine is the default one. in the below one, it is google
set searchengines={"google":"https://www.google.com/search?q={{keyword}}", "yahoo":"https://search.yahoo.com/search?p={{keyword}}","wikipedia":"https://www.wikipedia.org/wiki/Special:Search/{{keyword}}","answers":"https://www.answers.com/main/ntquery?s={{keyword}}","yubnubs":"http://yubnub.org/parser/parse?command={{keyword}}"}

" You could also add some new searchengines without overwrite build in.
set searchengines+={"baidu":"https://www.baidu.com/s?wd={{keyword}}"}

" Change default search engine, default is google.
set defaultsearch=yahoo

" Follow new opened tab or not. 1 follow, 0 doesn't
set follow_new_tab=1

" Disable autocomplete
set noautocomplete

" Disable autofocusing of elements during page load
set disable_autofocus

" Disable Vrome in those sites, Multiple URLs can be separated with ,
set disablesites=mail.google.com, reader.google.com

" Set your hintkeys instead of the default 0123456789
set hintkeys=jlkhfsdagwerui

" by default, hints use numbers. You can have both numbers AND strings (view custom JS below). Or you can use strings only as hints and overwr
set useletters=1

" The server port is what external server running on
" The external server is used to support launch the external editor in insert mode.
" Please refer "Support External Editor" https://github.com/jinzhu/vrome/wiki/Support-External-Editor for more
set server_port=30000

" add custom quick marks
set qm_e=chrome://extensions
" custom quick marks longer than one key
set qm_hn=http://news.ycombinator.com
" custom quick mark triggering JS (view below)
set qm_r=::javascript::CustomMark.readLater();
" vim: set ft=vim:
